package miracle.joker.design.bridge;

public abstract class AbstractCar {
    protected Engine engine;    //为了保证能让子类访问，而不让其他类访问而选择用protected

    public AbstractCar(Engine engine) {
        this.engine = engine;
    }

    public abstract void run();
}
